<? global $lg, $another_news, $FullUrl, $article, $cat1; ?>
<?
$img = GetImage($article['img']);
$w = 240;
$h = 240;
$sizes = fixSize($img, $w, $h);
$sizes_img_true = getimagesize($img);
$url_image = $img;
?>

<div class="container_24 primary_content_wrap clearfix">
  <div id="content" class="grid_17 right">
    <div id="post-113" class="post-113 portfolio type-portfolio status-publish hentry post">
      <article class="post-holder single-post">
        <header class="entry-header">
          <h1>
            <?=$article["name_$lg"];?>
          </h1>
          <div class="post-meta"> by <span class="author"><a href="http://livedemo00.template-help.com/wordpress_38638/author/admin/" title="Posts by admin" rel="author">admin</a></span> on
            <time datetime="<?=$article['dated']?>">
              <?=$article['dated']?>
            </time>
            with <a href="#" class="comments-link" title="Comment on Name 1">0 comments</a> </div>
          <!--.post-meta--> 
          
        </header>
        <figure class="featured-thumbnail no-hover"><span class="img-wrap"><img src="<?=GetPHPThumb($url_image, $w,$h);?>" class="attachment-post-thumbnail wp-post-image" alt="<?=$article["name_$lg"]?>" title="<?=$article["name_$lg"]?>" style="margin-top:<? echo ImageCenter($sizes['height'], $h)?>px;margin-left:<?=ImageCenterHorizontal($sizes['width'], 240)?>px" ></span></figure>
        <div class="post-content">
          <?=$article["content_$lg"];?>
        </div>
        <!--.post-content--> 
      </article>
    </div>
    <!-- #post-## -->
    
    <nav class="oldernewer">
      <div class="older"> <a href="#" rel="prev">« Previous post</a> </div>
      <!--.older-->
      <div class="newer"> </div>
      <!--.newer--> 
    </nav>
    <!--.oldernewer--> 
    
    <!-- You can start editing here. --> 
    
    <!-- If comments are open, but there are no comments. -->
    <p class="nocomments">No Comments Yet.</p>
    <div id="respond">
      <h3>Leave a comment</h3>
      <div class="cancel-comment-reply"> <small><a rel="nofollow" id="cancel-comment-reply-link" href="#" style="display: none;">Click here to cancel reply.</a></small> </div>
      <form action="#" method="post" id="commentform">
        <p class="field">
          <label for="author">Name <small>*</small></label>
          <input name="author" id="author" size="22" tabindex="1" aria-required="true" type="text">
        </p>
        <p class="field">
          <label for="email">Email <small>*</small></label>
          <input name="email" id="email" size="22" tabindex="2" aria-required="true" type="text">
        </p>
        <p class="field">
          <label for="url">Website </label>
          <input name="url" id="url" size="22" tabindex="3" type="text">
        </p>
        
        <!--<p><small><strong>XHTML:</strong> You can use these tags: <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></small></p>-->
        
        <p class="area">
          <label for="comment">Your Comment</label>
          <textarea name="comment" id="comment" cols="58" rows="10" tabindex="4"></textarea>
        </p>
        <p>
          <input name="submit" id="submit" tabindex="5" value="Submit Comment" type="submit">
          <input name="comment_post_ID" value="113" id="comment_post_ID" type="hidden">
          <input name="comment_parent" id="comment_parent" value="0" type="hidden">
        </p>
      </form>
    </div>
    <? if ($another_news) {?>
    <div class="frame">
      <div class="right-header">
        <h2 style="color:#0F6">Tin Tức Khác</h2>
      </div>
      <div class="content">
        <div class="other-news">
          <ul>
            <? for ($i=0; $i<count($another_news); $i++) { 
			$news = $another_news[$i];
            $link = GetProductLink2($news, $lg); 
			$img2 = GetImage($news['img']);
			$w2 = 160;
			$h2 = 160;
			$sizes2 = fixSize($img2, $w2, $h2);
			$url_image2 = $img2;
		?>
            <li> <a href="<?=$link?>">
              <div class="image_range"> <img src="<?=GetPHPThumb($url_image2, $w2,$h2);?>" class="attachment-post-thumbnail wp-post-image" alt="<?=$news["name_$lg"]?>" title="<?=$news["name_$lg"]?>"> </div>
              <div class="article_info"> <span style="color:#000000;">
                <?=$news["name_$lg"]?>
                </span> </div>
              </a></li>
            <? } ?>
          </ul>
        </div>
      </div>
    </div>
    <? } ?>
  </div>
  <!--#content-->
  <aside id="sidebar" class="grid_7">
    <div id="meta-2" class="widget">
      <h3>Meta</h3>
      <ul>
        <li><a href="#">Log in</a></li>
        <li><a href="#" title="Syndicate this site using RSS 2.0">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
        <li><a href="#" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
        <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li>
      </ul>
    </div>
    <div id="recent-posts-3" class="widget">
      <h3>Recent Posts</h3>
      <ul>
        <li><a href="http://livedemo00.template-help.com/wordpress_38638/spa/pellentesque-sed-dolor-aliquam-congue-fermentum-nisl-mauris-accumsan-nulla-vel-diam/" title="Pellentesque sed dolor. Aliquam congue fermentum nisl. Mauris accumsan nulla vel diam.">Pellentesque sed dolor. Aliquam congue fermentum nisl. Mauris accumsan nulla vel diam.</a></li>
        <li><a href="http://livedemo00.template-help.com/wordpress_38638/spa/donec-tempor-libero/" title="Donec tempor libero">Donec tempor libero</a></li>
        <li><a href="http://livedemo00.template-help.com/wordpress_38638/massages/vivamus-vel-sem-at/" title="Vivamus vel sem at">Vivamus vel sem at</a></li>
        <li><a href="http://livedemo00.template-help.com/wordpress_38638/hair-design/etiam-commodo-convallis/" title="Etiam commodo convallis">Etiam commodo convallis</a></li>
        <li><a href="http://livedemo00.template-help.com/wordpress_38638/aromatheraphy/mauris-posuere/" title="Mauris posuere">Mauris posuere</a></li>
      </ul>
    </div>
  </aside>
  <!--sidebar--> </div>
<?=isset($_SESSION['mess'])?AlertMessage($_SESSION['mess']):''; unset($_SESSION['mess']);?>
